#ifndef _WX_EXCEPT_H_
#define _WX_EXCEPT_H_

#include "wx/defs.h"

#if wxUSE_EXCEPTIONS
#define wxTRY try
#define wxCATCH_ALL(code) catch ( ... ) { code }
#else // !wxUSE_EXCEPTIONS
#define wxTRY
#define wxCATCH_ALL(code)
#endif // wxUSE_EXCEPTIONS/!wxUSE_EXCEPTIONS

#endif
